Total Complexity | 29 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 132 |
Lines of code | 76 |
Logical lines of code | 50 |
Comment lines | 47 |
Methods | 6 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update() | 53 | 11 | 20 | |
check_coupon_exist() | 59 | 6 | 13 | |
apply_coupon() | 62 | 4 | 11 | |
clear_coupon() | 62 | 4 | 11 | |
get() | 61 | 3 | 12 | |
__construct() | 65 | 1 | 9 |